package com.bw.shop2208a.db

import android.content.Context
import androidx.room.Room

class DBUtils {
    companion object{
        private lateinit var myDataBase: MyDataBase

        fun getMyDataBaer() = myDataBase
        fun init(context:Context){
            myDataBase = Room.databaseBuilder(context,MyDataBase::class.java,"my.db")
                .allowMainThreadQueries()
                .build()
        }
    }
}